﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopRoomImage : BaseObject
    {
        //begin
        public TopRoomImage(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _Gid;
        [Size(SizeAttribute.Unlimited)]
        public string Gid
        {
            get
            {
                return _Gid;
            }
            set
            {
                SetPropertyValue("Gid", ref _Gid, value);
            }
        }
        private long _Position;
        public long Position
        {
            get
            {
                return _Position;
            }
            set
            {
                SetPropertyValue("Position", ref _Position, value);
            }
        }
        private string _Image;
        [Size(SizeAttribute.Unlimited)]
        public string Image
        {
            get
            {
                return _Image;
            }
            set
            {
                SetPropertyValue("Image", ref _Image, value);
            }
        }
        private string _AllImages;
        [Size(SizeAttribute.Unlimited)]
        public string AllImages
        {
            get
            {
                return _AllImages;
            }
            set
            {
                SetPropertyValue("AllImages", ref _AllImages, value);
            }
        }
        //end
    }
}
